﻿namespace NTQOnlineExam.Services.CommandService.TermSection
{
    public class UpdateTermCommand
    {
        public UpdateTermCommand(string termName, string description, decimal? price, int termId, bool isPublished, int? yearId)
        {
            TermId = termId;
            Price = price;
            Description = description;
            TermName = termName;
            IsPublished = isPublished;
            YearId = yearId;

        }

        public int TermId { get; private set; }
        public string TermName { get; private set; }
        public string Description { get; private set; }
        public decimal? Price { get; private set; }
        public bool IsPublished { get; set; }
        public int? YearId { get; set; }
    }
}
